package com.dalin.platform.autocode.action;

import com.dalin.framework.action.StrutsTwoAction;
import com.dalin.platform.autocode.service.AutocodeService;
/*****************************************************************************
 * @content: 类信息                                                   *
 * @author : 那建林                                                                                                                                 *
 * @crtDate: 2010-06-18                                                     *
 * @modDate: 2010-06-18                                                     *
 * @version: 1.00                                                           *
 ****************************************************************************/
public class GlbGeneratorKeyDelAction extends StrutsTwoAction{
	 private AutocodeService autocodeService; // 
    private Long[] idArray; // 





    public String execute() throws Exception {
        super.printInfo("", "===== this action begin");
        try {
        	autocodeService.delGlbGeneratorKeysByIds(idArray);
        	setResContent(true, "");
        } catch (Exception e) {
        	e.printStackTrace();
        	setResContent(e);
        }
        super.printInfo("", "===== this action begin");
        return null;

    }

    public AutocodeService getAutocodeService() {
		return autocodeService;
	}

	public void setAutocodeService(AutocodeService autocodeService) {
		this.autocodeService = autocodeService;
	}
    public Long[] getIdArray() {
        return idArray;

    }

    public void setIdArray(Long[] idArray) {
        this.idArray = idArray;

    }

}
